package com.cynic.provider.serviceimpl;

import com.alibaba.dubbo.config.annotation.Service;
import com.cynic.api.domain.UserEntity;
import org.springframework.stereotype.Component;

/**
 * @description: 用户service
 * @author: cynic
 * @create: 2018-12-01 16:39
 **/
@Component
@Service
public class UserServiceImp implements com.cynic.api.service.UserService {

    @Override
    public UserEntity getUser() {
        UserEntity userEntity = new UserEntity();
        userEntity.setId("123");
        userEntity.setName("大B哥");
        userEntity.setSex("男");
        return userEntity;
    }
}
